package com.koron.housing.staff.bean.dto;

import com.koron.housing.staff.bean.po.HousingLease;
import com.koron.housing.staff.bean.po.HousingStaff;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author jzp
 * @since 2022/2/26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "租户详情信息", description = "HousingStaffDTO")
public class HousingStaffDTO extends HousingStaff {

    @ApiModelProperty("入住日期")
    private Date intoDate;

    @ApiModelProperty("退租日期")
    private Date outDate;

    @ApiModelProperty("租赁合同开始日期")
    private Date leaseStartTime;

    @ApiModelProperty("租赁合同结束日期")
    private Date leaseEndTime;

    @ApiModelProperty("租赁信息")
    private List<HousingLease> leases;

}
